package com.xy.gateway.cert;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.xy.gateway.exception.GateWayException;
import com.xy.gateway.model.Providercert;
import com.xy.gateway.request.pay.handle.RequestParaHandler;

public class CertManagerCGB extends CertManagerAbstrace {
	public boolean verifyResSignData() throws GateWayException {
		boolean isValid = true;
		String source = getResSourceData();
		String sign = getResSignData();
		return isValid;
	}

	public String genReqSignData() throws GateWayException {
		// String source = genReqSignSourcedata();
		Map<String, String> signMap = requestParaHandler
				.getReqSignParaValuesMap();

//		MerchantCode mc = new MerchantCode();
		// String key=EpayGateSetting.getCertBySidByPK(sid, paytype,
		// reqtype).get;
		return "";
	}

	public CertManagerCGB(Providercert providercert, String sid,
			RequestParaHandler requestParaHandler, HttpServletRequest req,
			String paytype, String reqtype) {
		super(providercert, sid, requestParaHandler, req, paytype, reqtype);
	}

}
